package com.xiaotu.code.system;

import org.apache.activemq.ActiveMQConnectionFactory;
import org.springframework.beans.factory.InitializingBean;

public class DefineActiveMQConnectionFactory extends ActiveMQConnectionFactory implements InitializingBean {


	@Override
	public void afterPropertiesSet() throws Exception {
		super.setBrokerURL("tcp://127.0.0.1:61616");
	}

}
